package cn.edu.xmist.supermarket.mhy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/** 商品 */
@Data
@TableName("t_chanpin")
public class ChanpinPO {
  @TableId(type = IdType.AUTO)
  private Long id;

  private String name;
  private double price;
  private Long num;
  private String houseCode;
  private String GongysCode;

  @TableField(exist = false)
  private String houseName;

  @TableField(exist = false)
  private String GongysName;
}
